<include file="public@header" />
</head>
<body>
	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
            <li class="active"><a href="{:url('user/index')}">会员列表</a></li>
            <!-- <li><a href="{:url('user/add')}">添加商品分类</a></li> -->
		</ul>
        <form class="well form-inline margin-top-20" method="post" action="{:url('user/index')}">
            用户昵称:
            <input type="text" class="form-control" name="nickname" value="{:input('request.nickname/s','')}" placeholder="请输入用户昵称">
            手机号码:
            <input type="text" class="form-control" name="phone" value="{:input('request.phone/s','')}" placeholder="请输入手机号码">
            <input type="submit" class="btn btn-primary" value="搜索" />
            <a class="btn btn-danger" href="{:url('user/index')}">清空</a>
        </form>
		<table class="table table-hover table-bordered">
			<thead>
				<tr>
                    <th width="50">ID</th>
                    <th>用户昵称</th>
                    <th>真实姓名</th>
                    <th>性别</th>
                    <th>头像</th>
                    <th>手机号码</th>
                    <th>余额</th>
                    <th>积分</th>
                    <th>所属店铺</th>
                    <th>注册时间</th>
				</tr>
			</thead>
			<tbody>
                <foreach name="user" item="vo">
                    <tr>
                        <td>{$vo.id}</td>
                        <td>{$vo.nickname}</td>
                        <td>{$vo.realname}</td>
                        <td>{$vo.sex}</td>
                        <td><img style="width:50px;height:50px;" src="{$vo.img}" alt=""></td>
                        <td>{$vo.phone}</td>
                        <td>{$vo.balance}</td>
                        <td>{$vo.integral}</td>
                        <td>{$vo.shopname}</td>
                        <td>{$vo.addtime}</td>
                    </tr>
                </foreach>
			</tbody>
		</table>
		<div class="pagination">{$page}</div>
	</div>
	<script src="__STATIC__/js/admin.js"></script>
</body>
</html>